#include "InputHandler.h"

InputHandler::InputHandler(void)
{
	downPressed = false;
	upPressed = false;
	leftPressed = false;
	rightPressed = false;
	shouldPause =  false;
	EnterPressed = false;
	showDebug = false;
}

InputHandler::~InputHandler(void)
{
}

void InputHandler::PressDown()
{
	InputHandler::downPressed = true;
}

void InputHandler::PressUp()
{
	InputHandler::upPressed = true;
}

void InputHandler::PressLeft()
{
	InputHandler::leftPressed = true;
}

void InputHandler::PressRight()
{
	InputHandler::rightPressed = true;
}

void InputHandler::PressEnter()
{
	InputHandler::EnterPressed = true;
}

void InputHandler::ReleaseDown()
{
	InputHandler::downPressed = false;
}

void InputHandler::ReleaseUp()
{
	InputHandler::upPressed = false;
}

void InputHandler::ReleaseLeft()
{
	InputHandler::leftPressed = false;
}

void InputHandler::ReleaseRight()
{
	InputHandler::rightPressed = false;
}

void InputHandler::ReleaseEnter()
{
	InputHandler::EnterPressed = false;
}

void InputHandler::PressEscape()
{
	shouldPause = !shouldPause;
}

void InputHandler::ReleaseF1()
{
	InputHandler::showDebug = false;
}

void InputHandler::PressF1()
{
	InputHandler::showDebug = true;
}






